<template>
	<div style="">
		<section style="width: 100%;display: flex;flex-direction: column;background-color: white;padding:0.4rem 0.6rem;" @click="sendDetailsParam()">
			<section style="justify-content: left;align-items: center;display: flex;flex-direction: row;height: 2.8rem;padding: 0 0.5rem;">
				<span style="text-align: left;font-size: 1.1rem;">过磅编号：{{goodsNumber}}</span>
				<!--<mu-icon style="flex: 1;" value="keyboard_arrow_right" :size="26"/>-->
			</section>
			<section style="display: flex;flex-direction: column;justify-content: center;justify-content: left;padding: 0 0.5rem;">
				<span  class="card-item-child">客户：{{customerInfo}}</span>
				<span class="card-item-child">车牌号：{{plateNumber}}</span>
				<span class="card-item-child">备注：{{remarks}}</span>
				<span class="card-item-child">物料：{{materiel}}</span>
				<span class="card-item-child">提货码：{{ladingCode}}</span>
				<span class="card-item-child">预装量：{{PreLoad}}</span>
				<span class="card-item-child">提货方式：{{ladingMethods}}</span>
			</section>
			
		</section>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		props:{
			goodsNumber:{
				type:String,
				default:'100001'
			},
			plateNumber:{
				type:String,
				default:'鲁1115'
			},
			remarks:{
				type:String,
				default:'额嗯嗯嗯嗯恩'
			},
			customerInfo:{
				type:String,
				default:'薛老大'
			},
			materiel:{
				type:String,
				default:'石灰石'
			},
			ladingCode:{
				type:String,
				default:'5832518'
			},
			ladingMethods:{
				type:String,
				default:'自提'
			},
			PreLoad:{
				type:String,
				default:''
			},
			billData:{
				type:Object,
				default:{
					
				}
			}
		},
		mounted(){
//			this.goodsNumber=this.$route.params.goodsNumber
//			this.plateNumber=this.$route.params.plateNumber
//			this.remarks=this.$route.params.remarks
//			this.customerInfo=this.$route.params.customerInfo
//			this.materiel=this.$route.params.materiel
//			this.ladingCode=this.$route.params.ladingCode
//			this.PreLoad=this.$route.params.PreLoad
			console.info(this.billData)
},
		methods:{
			sendDetailsParam(){
				let that=this
				that.$router.push(
			 		{path:'orderDetail',
			 		name:'orderDetail',
					 params: { 
					 	
		            }})
				}
		}
	}
</script>

<style>
	.card-item-child{
		text-align: left;
		font-size: 0.9rem;
		height: 1.6rem;
		color: #939393;
	}
</style>